package study.member.sungil.oop2;

import java.text.SimpleDateFormat;
import java.util.Date;

public class ImportTest {
	
	public static void main(String[] args) {
		Date today = new Date();
		SimpleDateFormat defualtDate = new SimpleDateFormat();
		SimpleDateFormat date = new SimpleDateFormat("yyyy/MM/dd");
		SimpleDateFormat time = new SimpleDateFormat("hh:mm:ss a");
		System.out.println("오늘의 날짜는 : " + date.format(today));
		System.out.println("오늘의 날짜는 : " + time.format(today));
	}

}
